package user;

import Book.BookList;
import ioperations.IOPeration;

/**
 * @author ：陈奕安（3048279304@qq.com）
 * @date ：Created in 2025/5/18 23:27
 * @description：
 * @modified By：
 * @version:
 */
public abstract class User {

    protected String name;

    protected IOPeration[] ioPerations;

    public User(String name) {
        this.name = name;
    }
    public abstract int menu();
    public void doIoperations(int choice, BookList bookList){
        ioPerations[choice].work(bookList);
    }
}